home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Bible Heaven
/
Bible Heaven.iso
/
online
/
setcd.bat
< prev
next >
Wrap
DOS Batch File
|
1994-09-15
|
2KB
|
108 lines
echo off
set cd=
if exist z:\online\bible.exe goto z
if exist y:\online\bible.exe goto y
if exist x:\online\bible.exe goto x
if exist w:\online\bible.exe goto w
if exist v:\online\bible.exe goto v
if exist u:\online\bible.exe goto u
if exist t:\online\bible.exe goto t
if exist s:\online\bible.exe goto s
if exist r:\online\bible.exe goto r
if exist q:\online\bible.exe goto q
if exist p:\online\bible.exe goto p
if exist o:\online\bible.exe goto o
if exist n:\online\bible.exe goto n
if exist m:\online\bible.exe goto m
if exist l:\online\bible.exe goto l
if exist k:\online\bible.exe goto k
if exist j:\online\bible.exe goto j
if exist i:\online\bible.exe goto i
if exist h:\online\bible.exe goto h
if exist g:\online\bible.exe goto g
if exist f:\online\bible.exe goto f
if exist e:\online\bible.exe goto e
if exist d:\online\bible.exe goto d
if exist c:\online\bible.exe goto c
cls
echo Unable to determine drive letter for CD drive.
pause
goto error
:z
set cd=%cd%
goto exit
:y
set cd=y:
goto exit
:x
set cd=x:
goto exit
:w
set cd=w:
goto exit
:v
set cd=v:
goto exit
:u
set cd=u:
goto exit
:t
set cd=t:
goto exit
:s
set cd=s:
goto exit
:r
set cd=r:
goto exit
:q
set cd=q:
goto exit
:p
set cd=p:
goto exit
:o
set cd=o:
goto exit
:n
set cd=n:
goto exit
:m
set cd=m:
goto exit
:l
set cd=l:
goto exit
:k
set cd=k:
goto exit
:j
set cd=j:
goto exit
:i
set cd=i:
goto exit
:h
set cd=h:
goto exit
:g
set cd=g:
goto exit
:f
set cd=f:
goto exit
:e
set cd=e:
goto exit
:d
set cd=d:
goto exit
:c
set cd=c:
goto exit
:exit
%cd%
cd %cd%\online
%cd%\online\%1
:error